package com.jflyfox.modules.admin.course;

import com.jflyfox.component.base.BaseProjectModel;
import com.jflyfox.jfinal.component.annotation.ModelBind;

import java.math.BigDecimal;

@ModelBind(table = "tb_course")
public class TbCourse  extends BaseProjectModel<TbCourse> {
    private static final long serialVersionUID = 1L;
    public static final TbCourse dao = new TbCourse();

    // columns START
    private String ID = "id"; // 主键
    private String COURSE = "course"; // 课程
    private String PRICE= "price"; // 价格
    private String AREA = "area"; // 校区
    private String REMARK = "remark"; // 说明
    private String CREATE_TIME = "create_time"; // 创建时间
    private String CREATE_ID = "create_id"; // 创建者


    public TbCourse setId(java.lang.Integer value) {
        set(ID, value);
        return this;
    }
    public java.lang.Integer getId() {
        return get(ID);
    }

    public TbCourse setCourse(java.lang.String value) {
        set(COURSE, value);
        return this;
    }

    public java.lang.String getCourse() {
        return get(COURSE);
    }

    public TbCourse setPhone(java.lang.String value) {
        set(COURSE, value);
        return this;
    }

    public String getPrice() {
        return get(PRICE);
    }

    public TbCourse setArea(java.lang.String value) {
        set(AREA, value);
        return this ;
    }

    public String getArea() {
        return get(AREA);
    }



    public TbCourse setRemark(java.lang.String value) {
        set(REMARK, value);
        return this;
    }

    public java.lang.String getRemark() {
        return get(REMARK);
    }


    public TbCourse setCreateTime(java.lang.String value) {
        set(CREATE_TIME, value);
        return this;
    }

    public java.lang.String getCreateTime() {
        return get(CREATE_TIME);
    }

    public void setCreateId(java.lang.Integer value) {
        set(CREATE_ID, value);
//        return this;
    }

    public java.lang.Integer getCreateId() {
        return get(CREATE_ID);
    }
}
